import Taro, { Component } from '@tarojs/taro'
import { View, Text } from '@tarojs/components'
import './index.scss'

export default class Index extends Component {
  render() {
    return (<View className='title-one'>
      <View className='circle circle-left'/>
      <Text className='title-text'>{this.props.children}</Text>
      <View className='circle circle-right'/>
    </View>)
  }
}
